package top.lshaci.learning.shardingjdbc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * Course
 *
 * @author liangxu
 */
@Data
@TableName("course")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Course extends Model<Course> {

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 状态
     */
    private Integer status;
}
